﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ShopingList.DBModel;

namespace ShopingList.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class BaseData
    {
        public List<shopList> shopLists = new List<shopList>();
        public BaseData()
        {
            int inex = 1;
            shopLists.Add(Crete("肉","午餐肉","659", inex++));
            shopLists.Add(Crete("肉","鲜毛肚","963", inex++));
            shopLists.Add(Crete("肉","千层肚","723", inex++));
            shopLists.Add(Crete("肉","黄喉","44", inex++));
            shopLists.Add(Crete("肉","相间肥牛","9536", inex++));
            shopLists.Add(Crete("肉","高钙","44", inex++));
            shopLists.Add(Crete("肉","自制羔羊","9949", inex++));
            shopLists.Add(Crete("肉","手切肋条","7758", inex++));
            shopLists.Add(Crete("肉","手切上脑","7776", inex++));
            shopLists.Add(Crete("肉","刺身","27", inex++));
            shopLists.Add(Crete("肉","蛎蝗","54", inex++));
            shopLists.Add(Crete("肉","鱼片","2397", inex++));
            shopLists.Add(Crete("肉","丸美组合","9694", inex++));
            shopLists.Add(Crete("饮料","花生露","475", inex++));
            shopLists.Add(Crete("饮料","露露","55", inex++));
            shopLists.Add(Crete("饮料","雪花金纯","9452", inex++));
            shopLists.Add(Crete("饮料","龙山泉干啤","57747", inex++));
            shopLists.Add(Crete("饮料","沈阳啤酒","79", inex++));
            shopLists.Add(Crete("饮料","雪花啤酒","9447", inex++));
            shopLists.Add(Crete("饮料","雪花淡爽","9437", inex++));
            shopLists.Add(Crete("饮料","老雪花","594", inex++));
            shopLists.Add(Crete("饮料","可乐","55", inex++));
            shopLists.Add(Crete("饮料","雪碧","92", inex++));
            shopLists.Add(Crete("饮料","可乐瓶","55(大)", inex++));
            shopLists.Add(Crete("饮料","雪碧","92(大)", inex++));
            shopLists.Add(Crete("饮料","无糖可乐","9855", inex++));
            shopLists.Add(Crete("饮料","加多宝","532", inex++));
            shopLists.Add(Crete("饮料","台椰","89", inex++));
            shopLists.Add(Crete("饮料","宏宝莱","425", inex++));
            shopLists.Add(Crete("饮料","泉阳泉","797", inex++));
            shopLists.Add(Crete("饮料","红茶小","42", inex++));
            shopLists.Add(Crete("饮料","红茶大","42", inex++));
            shopLists.Add(Crete("饮料","大开卫","359", inex++));
            shopLists.Add(Crete("饮料","大果粒","345", inex++));
            shopLists.Add(Crete("饮料","四喜(小)","79", inex++));
            shopLists.Add(Crete("锅底","滋补","92", inex++));
            shopLists.Add(Crete("锅底","鸳鸯","999", inex++));
            shopLists.Add(Crete("锅底","全家福","999", inex++));
            shopLists.Add(Crete("纸巾","餐巾纸","259", inex++));
            shopLists.Add(Crete("菜","冬瓜","34", inex++));
            shopLists.Add(Crete("菜","鲜蘑","96", inex++));
            shopLists.Add(Crete("菜","鲜豆皮","937", inex++));
            shopLists.Add(Crete("菜","海鲜菇","494", inex++));
            shopLists.Add(Crete("菜","宽粉","29", inex++));
            shopLists.Add(Crete("菜","香菇","94", inex++));
            shopLists.Add(Crete("菜","水晶粉","753", inex++));
            shopLists.Add(Crete("菜","蟹味菇","994", inex++));
            shopLists.Add(Crete("菜","冻豆腐","333", inex++));
            shopLists.Add(Crete("菜","东北木耳","32", inex++));
            shopLists.Add(Crete("菜","鲜豆腐","933", inex++));
            shopLists.Add(Crete("菜","羊血","799", inex++));
            shopLists.Add(Crete("菜","金针菇","594", inex++));
            shopLists.Add(Crete("菜","鸭血","99", inex++));
            shopLists.Add(Crete("涮品","豆制拼盘","39", inex++));
            shopLists.Add(Crete("涮品","大白菜","322", inex++));
            shopLists.Add(Crete("涮品","菌蘑合盘","56", inex++));
            shopLists.Add(Crete("涮品","油麦菜","962", inex++));
            shopLists.Add(Crete("涮品","酸菜","72", inex++));
            shopLists.Add(Crete("涮品","香菜","92", inex++));
            shopLists.Add(Crete("涮品","海带","43", inex++));
            shopLists.Add(Crete("涮品","菠菜","22", inex++));
            shopLists.Add(Crete("涮品","笋尖","75", inex++));
            shopLists.Add(Crete("涮品","生菜","72", inex++));
            shopLists.Add(Crete("涮品","土地冬","833", inex++));
            shopLists.Add(Crete("涮品","茼蒿","84", inex++));
            shopLists.Add(Crete("涮品","土豆","83", inex++));
            shopLists.Add(Crete("涮品","小白菜","922", inex++));
            shopLists.Add(Crete("涮品","地瓜","34", inex++));
            shopLists.Add(Crete("涮品","洋洋得意","99", inex++));
            shopLists.Add(Crete("涮品","加份","53", inex++));
            shopLists.Add(Crete("凉菜","农家拌菜","653", inex++));
            shopLists.Add(Crete("凉菜","皮蛋豆腐","7333", inex++));
            shopLists.Add(Crete("凉菜","酸鱼皮","7597", inex++));
            shopLists.Add(Crete("凉菜","手打鸡蛋面","73", inex++));
            shopLists.Add(Crete("凉菜","籽鸟","99", inex++));
            shopLists.Add(Crete("凉菜","大花卷","345", inex++));
            shopLists.Add(Crete("凉菜","给力虾丸","45", inex++));
            shopLists.Add(Crete("凉菜","拍黄瓜","744", inex++));
            shopLists.Add(Crete("凉菜","油炸花生米","994", inex++));
            shopLists.Add(Crete("凉菜","满园春色","692", inex++));
        }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="name"></param>
        /// <param name="code"></param>
        /// <returns></returns>
        private shopList Crete(string type,string name,string code,int index)
        {
            return new shopList()
            {
                spName = name,
                spCode = code,
                guid = Guid.NewGuid().ToString(),
                index= index,
                spType=type
            };
        }
    }
}
